package cn.whit.blog.domain;

import java.util.Date;

/*
 * 投票
 */
public class Vote {
	
	private String id;
	
	private String title;
	
	private String content;
	
	private int  status;
	
	private String options;
	
	private String memo;
	
	private Date startTime;
	
	private Date endTime;
	
	private Date createTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getOptions() {
		return options;
	}

	public void setOptions(String options) {
		this.options = options;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "Vote [id=" + id + ", title=" + title + ", content=" + content + ", status=" + status + ", options="
				+ options + ", memo=" + memo + ", startTime=" + startTime + ", endime=" + endTime + ", createTime="
				+ createTime + "]";
	}

	public Vote(String id, String title, String content, int status, String options, String memo, Date startTime,
			Date endTime, Date createTime) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.status = status;
		this.options = options;
		this.memo = memo;
		this.startTime = startTime;
		this.endTime = endTime;
		this.createTime = createTime;
	}

	public Vote() {
		super();
	}
	
	
}
